package com.ym.b2b.order.service;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.commons.exception.BaseException;
import com.ym.b2b.order.sqlbean.EmSOrderConfirmItem;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

import javax.servlet.http.HttpServletRequest;

public interface EmSOrderConfirmItemService {

    public Result deleteEmSOrderConfirmItem(EmSOrderConfirmItem emSOrderConfirmItem,HttpServletRequest req) throws BaseException;

    public Result searchPageEmSOrderConfirmItem(EmSOrderConfirmItem emSOrderConfirmItem, Page<EmSOrderConfirmItem> page)
                                                                                                                        throws BaseException;

    public Page<EmSOrderConfirmItem> searchPageEmSOrderConfirmItemReturn(EmSOrderConfirmItem emSOrderConfirmItem,
                                                                         Page<EmSOrderConfirmItem> page)
                                                                                                        throws BaseException;

    public Result updateConfirmItemForIsReturn(EmSOrderConfirmItem emSOrderConfirmItem) throws DataAccessException;

    public Result updateMultipleConfirmItemForIsReturns(EmSOrderConfirmItem emSOrderConfirmItem)
                                                                                                throws DataAccessException;
}
